package com.yuke.cloud.service.smc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import java.util.Date;

@ApiModel(value="com.yuke.cloud.service.smc.dto.AssGoodsCancelDTO")
public class AssGoodsCancelDTO {

    /**
     * 关联原单号
     */
    @Column(name = "stock_order_id")
    @ApiModelProperty(value="stockOrderId关联原单号")
    private Long stockOrderId;

    /**
     * 要取消的商品ID
     */
    @Column(name = "stock_goods_id")
    @ApiModelProperty(value="stockGoodsId要取消的商品ID")
    private Long stockGoodsId;

    /**
     * 店铺ID
     */
    @Column(name = "shop_id")
    @ApiModelProperty(value="shopId店铺ID")
    private Long shopId;

    /**
     * 应退金额，单位为分
     */
    @Column(name = "refund_payable")
    @ApiModelProperty(value="refundPayable应退金额，单位为分")
    private Integer refundPayable;

    /**
     * 退款方式，  1：原路退回；2：其他
     */
    @Column(name = "refund_type")
    @ApiModelProperty(value="refundType退款方式，  1：原路退回；2：其他")
    private Byte refundType;

    /**
     * 取消原因，  0：其他，1：采购计划已变，2：误采购
     */
    @Column(name = "cancel_reason")
    @ApiModelProperty(value="cancelReason取消原因，  0：其他，1：采购计划已变，2：误采购")
    private Byte cancelReason;

    /**
     * 自定义退货原因
     */
    @Column(name = "custom_cancel_reason")
    @ApiModelProperty(value="customCancelReason自定义退货原因")
    private String customCancelReason;

    /**
     * 取消申请时间
     */
    @Column(name = "create_time")
    @ApiModelProperty(value="createTime取消申请时间")
    private Date createTime;

    public Long getStockOrderId() {
        return stockOrderId;
    }

    public void setStockOrderId(Long stockOrderId) {
        this.stockOrderId = stockOrderId;
    }

    public Long getStockGoodsId() {
        return stockGoodsId;
    }

    public void setStockGoodsId(Long stockGoodsId) {
        this.stockGoodsId = stockGoodsId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Integer getRefundPayable() {
        return refundPayable;
    }

    public void setRefundPayable(Integer refundPayable) {
        this.refundPayable = refundPayable;
    }

    public Byte getRefundType() {
        return refundType;
    }

    public void setRefundType(Byte refundType) {
        this.refundType = refundType;
    }

    public Byte getCancelReason() {
        return cancelReason;
    }

    public void setCancelReason(Byte cancelReason) {
        this.cancelReason = cancelReason;
    }

    public String getCustomCancelReason() {
        return customCancelReason;
    }

    public void setCustomCancelReason(String customCancelReason) {
        this.customCancelReason = customCancelReason;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
